///////////////////////////////////////////////////////////////////////////
//  Brainfreeze - Yet another sokoban puzzle game, this time in 3D
//  Copyright (C) 2006 Scott MacDonald
//
//  This program is free software; you can redistribute it and/or modify
//  it under the terms of the GNU General Public License as published by
//  the Free Software Foundation; either version 2 of the License, or
//  (at your option) any later version.
//
//  This program is distributed in the hope that it will be useful,
//  but WITHOUT ANY WARRANTY; without even the implied warranty of
//  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
//  GNU General Public License for more details.
//
//  You should have received a copy of the GNU General Public License along
//  with this program; if not, write to the Free Software Foundation, Inc.,
//  51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
///////////////////////////////////////////////////////////////////////////
// GameSession.h - definition for a game session. Simply the "in-play" 
// sokoban level
#ifndef __BRAINFREEZE_GAME_SESSION_H__
#define __BRAINFREEZE_GAME_SESSION_H__
#pragma once
#include "stdafx.h"

class GameSession
{
public:

	GameSession(void);

	~GameSession(void);

	GameLevel*	GetLevel();				// return the current level being played
	void ResetLevel();					// reset the level to the start

private:
	GameLevel*	currentLevel;			// information on the level that is being played
	GameLevel*	currentLevelBase;		// the "basic" or unplayed copy of the level

	int moves;							// the number of moves from the starting pos (affected by undo)
	int totalMoves;						// EVERY move that the player has made (NOT affected by undo)
	int pushes;							// the number of pushes made (affected by undo)
	int undoCount;						// number of times undo was made

};

#endif